//Buffer 是一个用来存放二进制数据数组
//Array
/* Object.toString
Number
let arr = [];
arr.push([1,2]);
arr.push([3,4]);
const joinedArray = Array.concat(arr);//[1,2,3,4]
 */
let buffers = [];
//console.log(Buffer.from('12'));
buffers.push(Buffer.from('12'));//['1','2']
buffers.push(Buffer.from('34'));//['3','4']
const result = Buffer.concat(buffers);
console.log(result);//['1','2','3','4']
console.log('====================================');
console.log(result.toString());
console.log('====================================');

